package cn.jdy.plugins.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;

import cn.jdy.authority.entity.User;
import cn.jdy.common.bo.BaseEntry;

/**
 * 直播实体类
 */
@Entity
public class PptImg extends BaseEntry {
	private static final long serialVersionUID = 1996535695280105630L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;// 主键

	private Long liveid; // 直播id
	@ManyToOne
	@JoinColumn(name = "liveId", insertable = false, updatable = false)
	private Live live;
	
	
	private Long pptListid; // ppt项目id
	
	private String cuserid;//创建人id
	
	private String cusername;//创建人name
	
	private String pptimg;// 图片
	
	private String ppttitle;// 标题
	
	private Integer  issort;//排序
	
	private Integer  sortTop;//排序top
	private Integer  sortLeft;//排序left
	
	


	public Long getPptListid() {
		return pptListid;
	}

	public void setPptListid(Long pptListid) {
		this.pptListid = pptListid;
	}

	public Integer getSortTop() {
		return sortTop;
	}

	public void setSortTop(Integer sortTop) {
		this.sortTop = sortTop;
	}

	public Integer getSortLeft() {
		return sortLeft;
	}

	public void setSortLeft(Integer sortLeft) {
		this.sortLeft = sortLeft;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}



	public Long getLiveid() {
		return liveid;
	}

	public void setLiveid(Long liveid) {
		this.liveid = liveid;
	}

	public Live getLive() {
		return live;
	}

	public void setLive(Live live) {
		this.live = live;
	}

	public String getCuserid() {
		return cuserid;
	}

	public void setCuserid(String cuserid) {
		this.cuserid = cuserid;
	}

	public String getCusername() {
		return cusername;
	}

	public void setCusername(String cusername) {
		this.cusername = cusername;
	}

	public String getPptimg() {
		return pptimg;
	}

	public void setPptimg(String pptimg) {
		this.pptimg = pptimg;
	}

	public String getPpttitle() {
		return ppttitle;
	}

	public void setPpttitle(String ppttitle) {
		this.ppttitle = ppttitle;
	}

	public Integer getIssort() {
		return issort;
	}

	public void setIssort(Integer issort) {
		this.issort = issort;
	}

	



	

	












}
